package gov.pbc.nn.kjgl.entity;

import gov.pbc.nn.core.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 项目人员关系
 */
@Entity
@Table(name = "T_PROJECT_MEMBER")
public class ProjectMember extends BaseEntity {
	private static final long serialVersionUID = 1L;
	@Column(name = "PROJECT_ID_", length = 60)
	@PropertyDef(label = "工程ID", description = "工程ID:工程ID")
	private String projectId;

	@Column(name = "USER_NAME_", length = 60)
	@PropertyDef(label = "成员姓名", description = "成员姓名:成员姓名")
	private String username;

	@Column(name = "PROJECT_ROLE_", length = 60)
	@PropertyDef(label = "项目角色", description = "0:项目管理员;1项目经理;2;项目开发;3项目测试;4:项目干系人")
	private int projectRole;

	@Column(name = "PHONE_", length = 20)
	@PropertyDef(label = "手机号码", description = "手机号码:手机号码")
	private String phone;

	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getProjectRole() {
		return projectRole;
	}

	public void setProjectRole(int projectRole) {
		this.projectRole = projectRole;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
}
